package theOrbalEra.client.OrbalArts.entity;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.world.World;

/**
 * OrbalArtEntity.java
 * 
 * @author hendyzone hendyzone@163.com
 * @version 1.0
 */
@SideOnly(Side.CLIENT)
public abstract class OrbalArtEntity extends Entity {
	protected int tick;
	protected EntityPlayer player;
	
	public OrbalArtEntity(World par1World) {
		super(par1World);
		this.preventEntitySpawning = true;
	}
	public OrbalArtEntity(World world, EntityPlayer player) {
		this(world);
		this.player=player;
	}
	@Override
	public boolean canAttackWithItem() {

		return false;
	}

	@Override
	protected abstract void readEntityFromNBT(NBTTagCompound nbttagcompound);
	@Override
	protected abstract void writeEntityToNBT(NBTTagCompound nbttagcompound);
	@Override
	protected abstract void entityInit();
}
